chore: Ruby を 3.4.4 から 4.0.5 に更新#33
Merged
Merged
Conversation
GitHub Actions の ruby/setup-ruby は .ruby-version を参照するため、
ワークフロー側の変更は不要。
bundle install による Gemfile.lock の再解決で以下が発生:
- html-proofer 5.0.10 → 5.2.1
(5.0.10 は Ruby 4 で解決できないため。benchmark が bundled gem
化されたことに対応した 5.2.1 に繰り上げ)
- ffi / nokogiri の汎用 ruby プラットフォーム版を追加
(Ruby 4.0 向けプリコンパイル版が未提供でソースビルドに
フォールバックするため。CI 用の linux エントリは据え置き)
検証: jekyll build 成功、rake test も minitest 6 runs / 0 failures、
html-proofer も finished successfully。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
.ruby-versionを 3.4.4 → 4.0.5 に更新しました。GitHub Actions の
ruby/setup-ruby@v1はバージョン指定なしで.ruby-versionを参照する設定のため、ワークフロー側の変更は不要です。Gemfile.lock の変更について
bundle installによる再解決で、Ruby バージョン以外に 2 種類の変更が入っています。html-proofer 5.0.10 → 5.2.1
5.0.10 は Ruby 4 で解決できないため繰り上がりました。Ruby 3.5 以降
benchmarkが bundled gem 化されたことに対応し、5.2.1 では依存にbenchmarkが明示されています。ffi/nokogiriの汎用rubyプラットフォーム版を追加Ruby 4.0 向けのプリコンパイル済みバイナリがまだ提供されておらず、ソースからのネイティブビルドにフォールバックするためです。CI(Linux)用の
x86_64-linuxエントリは元のまま残っているので、そちらは引き続きプリコンパイル版が使われます。動作確認
bundle exec jekyll build— 成功(ビルドフックの GeoJSON 生成・ロゴキャッシュも含めて完走)bundle exec rake test— minitest 6 runs / 0 failures 0 errors、html-proofer もfinished successfullyなお
asyncgem からScheduler should implement #fiber_interrupt、html-proofer からIO::Buffer is experimentalという警告が出ますが、これは gem 側が Ruby 4 の新 API に未追従なだけで、テスト結果には影響していません。